ARDK for Android/com.nianticlabs.ardk/LatLng
LatLng
data class LatLng(val lat: Double, val lng: Double)
Geographic coordinates representing latitude and longitude.
LatLng is used throughout ARDK for specifying geographic locations, particularly for VPS coverage queries and area-based operations.
Parameters
androidJvm
| lat | Latitude in decimal degrees (-90.0 to 90.0) |
| lng | Longitude in decimal degrees (-180.0 to 180.0) |
See also
| VPSCoverageSession.requestAreas |
| VPSCoverageSession.requestAreaTargets |
Samples
Constructors
| LatLng | [androidJvm] constructor(lat: Float, lng: Float) Creates LatLng from float coordinates. constructor(lat: Double, lng: Double) |
Properties
| Name | Summary |
|---|---|
| lat | [androidJvm] val lat: Double |
| lng | [androidJvm] val lng: Double |